package com.kingdee.eas.ec.garden.material.inv.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.material.basedata.OutInWareBaseBillCollection;
import com.kingdee.eas.ec.garden.material.inv.GaPlantletInAcpInfo;
import com.kingdee.eas.ec.material.inv.app.MaterialInvBillControllerBean;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.ec.material.basedata.MaterialBaseBillCollection;
import com.kingdee.eas.framework.CoreBillBaseCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.framework.BillBaseCollection;
import com.kingdee.eas.ec.basedata.BaseBillCollection;
import com.kingdee.eas.ec.material.inv.MaterialInvBillCollection;
import com.kingdee.eas.framework.ObjectBaseCollection;
import com.kingdee.eas.ec.garden.material.inv.GaPlantletInAcpCollection;



public abstract class AbstractGaPlantletInAcpControllerBean extends MaterialInvBillControllerBean implements GaPlantletInAcpController
{
    protected AbstractGaPlantletInAcpControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("140903E6");
    }

    public GaPlantletInAcpInfo getGaPlantletInAcpInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("66167f98-9749-41bc-8349-c7ba434c9f2e"), new Object[]{ctx, pk});
            invokeServiceBefore(svcCtx);
            GaPlantletInAcpInfo retValue = (GaPlantletInAcpInfo)_getValue(ctx, pk);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk);
    }

    public GaPlantletInAcpInfo getGaPlantletInAcpInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("9988fa42-6845-4ea4-b918-e747c6c9dcee"), new Object[]{ctx, pk, selector});
            invokeServiceBefore(svcCtx);
            GaPlantletInAcpInfo retValue = (GaPlantletInAcpInfo)_getValue(ctx, pk, selector);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk, selector);
    }

    public GaPlantletInAcpInfo getGaPlantletInAcpInfo(Context ctx, String oql) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("9b50c446-026d-46a9-93d3-9050ef489f47"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaPlantletInAcpInfo retValue = (GaPlantletInAcpInfo)_getValue(ctx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
    {
        return super._getValue(ctx, oql);
    }

    public GaPlantletInAcpCollection getGaPlantletInAcpCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("10347792-8743-4a6a-81f8-2df7f6e7d82b"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            GaPlantletInAcpCollection retValue = (GaPlantletInAcpCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public GaPlantletInAcpCollection getGaPlantletInAcpCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("2c4b782e-00c1-4b13-91c1-97c7158b4396"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            GaPlantletInAcpCollection retValue = (GaPlantletInAcpCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public GaPlantletInAcpCollection getGaPlantletInAcpCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("4ac385f5-2640-45b6-99f0-62b4940a5175"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaPlantletInAcpCollection retValue = (GaPlantletInAcpCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public MaterialInvBillCollection getMaterialInvBillCollection (Context ctx) throws BOSException
    {
    	return (MaterialInvBillCollection)(getGaPlantletInAcpCollection(ctx).cast(MaterialInvBillCollection.class));
    }
    public MaterialInvBillCollection getMaterialInvBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (MaterialInvBillCollection)(getGaPlantletInAcpCollection(ctx, view).cast(MaterialInvBillCollection.class));
    }
    public MaterialInvBillCollection getMaterialInvBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (MaterialInvBillCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(MaterialInvBillCollection.class));
    }
    public OutInWareBaseBillCollection getOutInWareBaseBillCollection (Context ctx) throws BOSException
    {
    	return (OutInWareBaseBillCollection)(getGaPlantletInAcpCollection(ctx).cast(OutInWareBaseBillCollection.class));
    }
    public OutInWareBaseBillCollection getOutInWareBaseBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (OutInWareBaseBillCollection)(getGaPlantletInAcpCollection(ctx, view).cast(OutInWareBaseBillCollection.class));
    }
    public OutInWareBaseBillCollection getOutInWareBaseBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (OutInWareBaseBillCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(OutInWareBaseBillCollection.class));
    }
    public MaterialBaseBillCollection getMaterialBaseBillCollection (Context ctx) throws BOSException
    {
    	return (MaterialBaseBillCollection)(getGaPlantletInAcpCollection(ctx).cast(MaterialBaseBillCollection.class));
    }
    public MaterialBaseBillCollection getMaterialBaseBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (MaterialBaseBillCollection)(getGaPlantletInAcpCollection(ctx, view).cast(MaterialBaseBillCollection.class));
    }
    public MaterialBaseBillCollection getMaterialBaseBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (MaterialBaseBillCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(MaterialBaseBillCollection.class));
    }
    public BaseBillCollection getBaseBillCollection (Context ctx) throws BOSException
    {
    	return (BaseBillCollection)(getGaPlantletInAcpCollection(ctx).cast(BaseBillCollection.class));
    }
    public BaseBillCollection getBaseBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillCollection)(getGaPlantletInAcpCollection(ctx, view).cast(BaseBillCollection.class));
    }
    public BaseBillCollection getBaseBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(BaseBillCollection.class));
    }
    public BillBaseCollection getBillBaseCollection (Context ctx) throws BOSException
    {
    	return (BillBaseCollection)(getGaPlantletInAcpCollection(ctx).cast(BillBaseCollection.class));
    }
    public BillBaseCollection getBillBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillBaseCollection)(getGaPlantletInAcpCollection(ctx, view).cast(BillBaseCollection.class));
    }
    public BillBaseCollection getBillBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillBaseCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(BillBaseCollection.class));
    }
    public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillBaseCollection)(getGaPlantletInAcpCollection(ctx).cast(CoreBillBaseCollection.class));
    }
    public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillBaseCollection)(getGaPlantletInAcpCollection(ctx, view).cast(CoreBillBaseCollection.class));
    }
    public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillBaseCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(CoreBillBaseCollection.class));
    }
    public ObjectBaseCollection getObjectBaseCollection (Context ctx) throws BOSException
    {
    	return (ObjectBaseCollection)(getGaPlantletInAcpCollection(ctx).cast(ObjectBaseCollection.class));
    }
    public ObjectBaseCollection getObjectBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ObjectBaseCollection)(getGaPlantletInAcpCollection(ctx, view).cast(ObjectBaseCollection.class));
    }
    public ObjectBaseCollection getObjectBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (ObjectBaseCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(ObjectBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getGaPlantletInAcpCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getGaPlantletInAcpCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getGaPlantletInAcpCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}